void setup() {
  // put your setup code here, to run once:
  pinMode(PA6, INPUT); // 读取信息
  Serial.begin(115200);
}

void loop() {
  // put your main code here, to run repeatedly:
  int val=0;
  val=digitalRead(PA6);
  Serial.println(val);
}
